package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报基本信息对象 rep_base
 * 
 * @author renfx
 * @date 2021-09-09
 */
public class RepBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Integer id;

    /** 客户单位名称 */
    @Excel(name = "客户单位名称")
    private String clientCompany;

    /** 联系人及电话 */
    @Excel(name = "联系人及电话")
    private String contactInfo;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 报价日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报价日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quotationDate;

    /** 付款方式 */
    @Excel(name = "付款方式")
    private String paymentMethod;

    /** 交货期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "交货期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deliveryDate;

    /** 报价有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报价有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quotationValidDate;

    /** 有效期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "有效期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date quaranteePerid;

    /** 总价 */
    @Excel(name = "总价")
    private BigDecimal totalPrice;

    /** 备注 */
    @Excel(name = "备注")
    private String totalPriceNote;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setClientCompany(String clientCompany) 
    {
        this.clientCompany = clientCompany;
    }

    public String getClientCompany() 
    {
        return clientCompany;
    }
    public void setContactInfo(String contactInfo) 
    {
        this.contactInfo = contactInfo;
    }

    public String getContactInfo() 
    {
        return contactInfo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setQuotationDate(Date quotationDate) 
    {
        this.quotationDate = quotationDate;
    }

    public Date getQuotationDate() 
    {
        return quotationDate;
    }
    public void setPaymentMethod(String paymentMethod) 
    {
        this.paymentMethod = paymentMethod;
    }

    public String getPaymentMethod() 
    {
        return paymentMethod;
    }
    public void setDeliveryDate(Date deliveryDate) 
    {
        this.deliveryDate = deliveryDate;
    }

    public Date getDeliveryDate() 
    {
        return deliveryDate;
    }
    public void setQuotationValidDate(Date quotationValidDate) 
    {
        this.quotationValidDate = quotationValidDate;
    }

    public Date getQuotationValidDate() 
    {
        return quotationValidDate;
    }
    public void setQuaranteePerid(Date quaranteePerid) 
    {
        this.quaranteePerid = quaranteePerid;
    }

    public Date getQuaranteePerid() 
    {
        return quaranteePerid;
    }
    public void setTotalPrice(BigDecimal totalPrice) 
    {
        this.totalPrice = totalPrice;
    }

    public BigDecimal getTotalPrice() 
    {
        return totalPrice;
    }
    public void setTotalPriceNote(String totalPriceNote) 
    {
        this.totalPriceNote = totalPriceNote;
    }

    public String getTotalPriceNote() 
    {
        return totalPriceNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("clientCompany", getClientCompany())
            .append("contactInfo", getContactInfo())
            .append("address", getAddress())
            .append("quotationDate", getQuotationDate())
            .append("paymentMethod", getPaymentMethod())
            .append("deliveryDate", getDeliveryDate())
            .append("quotationValidDate", getQuotationValidDate())
            .append("quaranteePerid", getQuaranteePerid())
            .append("totalPrice", getTotalPrice())
            .append("totalPriceNote", getTotalPriceNote())
            .toString();
    }
}
